<g:form method="post">
    <g:textArea name="sql" rows="5" cols="180">${sql}</g:textArea>
    <hr color="blue"/>
    <g:actionSubmit action="query" name="query" value="Query"/>
    <g:actionSubmit action="update" name="update" value="Update"/>
</g:form>
<hr color="red"/>

<g:uploadForm method="post">
    <input type="file" name="sqlFile" />
    <g:actionSubmit action="upload" name="upload" value="Upload"/>
</g:uploadForm>
<hr color="red"/>